package com.xbongbong.pro.dynamic.pojo.dto;

import com.xbongbong.pro.listbatch.pojo.dto.DistributionDTO;
import com.xbongbong.sys.domain.entity.UserEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 *分配动态
 *
 *@author weijianxun
 */
@Setter
@Getter
@ToString
public class DynamicDistributeDTO implements Serializable {
    private static final long serialVersionUID = -6746410175810812568L;
    private DistributionDTO distributionDTO;
    private List<Long> allowDataIds;
    private Map<Long, String> dataIdToNameMap;
    private UserEntity userEntity;

    public DynamicDistributeDTO(DistributionDTO distributionDTO, List<Long> allowDataIds, Map<Long, String> dataIdToNameMap, UserEntity userEntity) {
        this.distributionDTO = distributionDTO;
        this.allowDataIds = allowDataIds;
        this.dataIdToNameMap = dataIdToNameMap;
        this.userEntity = userEntity;
    }
}
